package de.hach.manno.webservice;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;

/**
 * <player name='Hanspeter Höschle' id='1' timestamp='2012-06-14 19:43:08'/>
 * 
 * @author hanspeter
 * 
 */
@Root
public class Player {

	@Attribute
	private int id;

	@Attribute
	private String name;

	@Attribute
	private String timestamp;

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getTimestamp() {
		return timestamp;
	}

	@Override
	public String toString() {
		return "Player [" + this.id + " (" + this.timestamp + ")] " + this.name;
	}
}
